import { getList } from '@/services/modules/students/projectKu';
import { getProjectList, ListItem, PostItem } from '@/utils/students/projectKu';
import { makeAutoObservable } from 'mobx';
class projectKu {
    constructor() {
        makeAutoObservable(this)
    };
    addItem: PostItem = {
        "discussDesc": '',
        "proId": ''
    }
    projectKuList:ListItem[]=[];
    async getProjectKuList(params:getProjectList) {
        let result = await getList(params);
        if (result) {
            this.projectKuList = result.rows
        }
    }
}
export default new projectKu;